{include file='common/header'}

<link rel="stylesheet" href="{:HOME_ROOT}/css/member_modify.css"/>

<div class="form">

    <div class="form-control">
        <span>真实名称</span>
        <input type="text" name="name" placeholder="真实名称" value="{$info.name}" />
    </div>

    <div class="form-control">
        <span>最近心情</span>
        <input type="text" name="mood" placeholder="最近心情" value="{$info.mood}" />
    </div>

    <div class="form-control">
        <span>生日</span>
        <input type="text" name="birthday" placeholder="生日" value="{$info.birthday}" />
    </div>

    <div class="form-control">
        <span>年龄</span>
        <input type="text" name="age" placeholder="年龄" value="{$info.age}" />
    </div>

    <div class="form-control">
        <span>详细地址</span>
        <input type="text" name="address" placeholder="详细地址" value="{$info.address}" />
    </div>

    <div class="form-control">
        <span>星座</span>
        <select name="star">
            <option value="null">请选择星座</option>
            <option value="1" <if {$info['star'] == '1'}>selected</if>>白羊座</option>
            <option value="2" <if {$info['star'] == '2'}>selected</if>>金牛座</option>
            <option value="3" <if {$info['star'] == '3'}>selected</if>>双子座</option>
            <option value="4" <if {$info['star'] == '4'}>selected</if>>巨蟹座</option>
            <option value="5" <if {$info['star'] == '5'}>selected</if>>狮子座</option>
            <option value="6" <if {$info['star'] == '6'}>selected</if>>处女座</option>
            <option value="7" <if {$info['star'] == '7'}>selected</if>>天秤座</option>
            <option value="8" <if {$info['star'] == '8'}>selected</if>>天蝎座</option>
            <option value="9" <if {$info['star'] == '9'}>selected</if>>射手座</option>
            <option value="10" <if {$info['star'] == '10'}>selected</if>>魔羯座</option>
            <option value="11" <if {$info['star'] == '11'}>selected</if>>水瓶座</option>
            <option value="12" <if {$info['star'] == '12'}>selected</if>>双鱼座</option>
        </select>
    </div>

    <div class="form-control">
        <span>性别</span>
        <select name="sex">
            <option value="null">请选择性别</option>
            <option value="1" <if {$info['sex'] == '1'}>selected</if>>男</option>
            <option value="2" <if {$info['sex'] == '2'}>selected</if>>女</option>
        </select>
    </div>

    <div class="button-control">
        <button onclick="post()">保存</button>
    </div>

</div>

{include file="common/footer"}